 class Account {
    int id;
    String name;
    double balance;
    double annualInterestRate;

    public Account(int id, String name, double balance, double annualInterestRate) {
        this.id = id;
        this.name = name;
        this.balance = balance;
        this.annualInterestRate = annualInterestRate;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getBalance() {
        return balance;
    }

    public void setBalance(double balance) {
        this.balance = balance;
    }

    public double getAnnualInterestRate() {
        return annualInterestRate;
    }

    public void setAnnualInterestRate(double annualInterestRate) {
        this.annualInterestRate = annualInterestRate;
    }
    public void withdraw(double a){
        this.balance-=a;
    }
    public void deposit(double a){
        this.balance+=a;
    }
    public double getMonthlyInterestRate(double a){
        return  annualInterestRate/12;
    }
public  void print(){
        System.out.println(id);
    System.out.println(name);
    System.out.println(balance);
    System.out.println(annualInterestRate/1200+"%");
}

}
